SureCart\Integrations\IntegrationService A

Total Complexity 55
Dependencies 4
Dependents 0
Total lines 446
Lines of code 203
Logical lines of code 100
Comment lines 181
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
onPurchaseUpdated()
A
42 11 55
onPurchaseProductUpdated()
S
54 7 23
callMethod()
S
54 7 21
purchaseIsNotMatchedWithPriceOrVariant()
S
62 5 11
getIntegrationData()
S
67 3 9
bootstrap()
S
60 2 12
getIntegrationsFromPurchase()
S
66 2 8
_getItem()
S
67 2 8
findProvider()
S
64 1 10
indexProviders()
S
76 1 4
getCurrentAction()
S
80 1 3
onPurchaseQuantityUpdated()
S
81 1 3
getName()
S
82 1 3
getModel()
S
82 1 3
getPurchaseId()
S
80 1 3
getPurchase()
S
82 1 3
enabled()
S
82 1 3
getItem()
S
82 1 3
getItems()
S
82 1 3
getItemHelp()
S
82 1 3
getItemLabel()
S
82 1 3
getLabel()
S
82 1 3
getLogo()
S
82 1 3
getUser()
S
81 1 3